﻿#parse("${skin.TemplateName}/include/top.htm")
	<!-- lp-header END -->
    
<link rel="stylesheet" type="text/css" href="/${skin.Dir}/article.css" media="all" />
<script type="text/javascript" src="/${skin.Dir}/js/jquery.treeview.js"></script>
<div class="lp-main article-main clr">
    <div class="lp-left">
        <div class=" article-left">
            <div class="pageTop">
                <h1>${article.Title}</h1>
            </div>
            <!-- pageTop END-->
            <div class="pageInfo clr">
                <div class="pi-author">
                    <span>${article.GetMDAddDate}  </span>
                    <i style="color:#FD5D3C;"></i>
                    
                </div>
                <!-- pi-author END -->
                <div class="pi-comment">
                    <a ><span>${article.ViewNum}</span></a>
                </div>
                <!-- pi-comment END -->
            </div>
            <!-- pageInfo END -->
                            <div class="pageTag">
                    <ul class="clr">
                    #foreach($tagEntity in $tag.List(${article.Tags}))
                              <li> <a href="${tagEntity.Url}"       >${tagEntity.TagName}</a></li>
                              #end  
                    </ul>  </div>
                        <!-- pageTag -->
            <div class="pageCont lp-article-comView ">
            <div style="margin-bottom: 10px;_margin-bottom: 5px; width:710px; overflow: hidden;text-align: left;">
                                <div  style="width:380px; float:left;" >  
                                ${cmn.Advertise("article_content1").Advertise}
 </div>
                    		                    <ul class="list" ><b>推荐阅读：</b>
                                                #set($SList = $cmn.SearchArticleList(${article.Id},"${article.SearchContent}","${article.SearchUpdateTime}","${page.Keywords}", "${page.ParentChannel.Path}",21,720,1))
                                                 #foreach($ListInfo in $SList)
                  #if(${velocityCount}<11)
                     <li ><a href="${ListInfo.Url}"  title="${ListInfo.Title}" target="_blank">${ListInfo.Title}</a></li>
                        #end
                        #end
                               </ul>                               </div>
                               
            #if(${article.Remark.Length}==40)
             <div class="filelist">
        <div class="tit cl">
            文件列表：(<span>文件总大小：${article.TColor}</span>)</div>
               ${article.TextContent} 
               </div>
               #else 
                ${article.TextContent} 
               #end
               </div>
            <div class="pageTemporary clr">
                <a href="#" target="_blank"></a>
            </div>
	        <div class="pageShenming clr">
            <span>【文明转载，互利你我；原文网址：${site.Url}${page.Channel.Url}/${article.Id}，本文版权归${site.Name}所有。】</span>
	        </div>
            <div class="pageActive clr">
             ${cmn.Advertise("List1").Advertise}
            </div>
            <!-- pageCont END -->
			<div class="pageActive clr">
				<div class="mark-like-btn clr">
					<a class="share-btn like-btn" id="like-btn" href="javascript:;" onclick="updateArticleNum(${article.Id},'${page.Channel.Dir}','upsupport')" ><i></i><span id="supportNum">${article.SupportNum}</span>个人喜欢</a>
                    <a class="share-btn down" href="/down/${article.Id}" onclick="this.href='/down/${article.Id}'"  onfocus="this.href='/down/${article.Id}'"  target="_blank" ><i></i>点此下载</a>
				</div>
				<!-- Baidu Button BEGIN -->
				<div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare baidu-share baidu-share">
					<a class="bds_tsina weibo-btn share-btn"><i></i>分享到微博</a>
                   <a class="weixin-btn share-btn" herf="javascript:;">
						<i></i>分享到朋友圈
						<div id="weixin-qt">
							<div id="weixin-qt-msg">打开微信，点击底部的“发现”，使用“扫一扫”即可将网页分享至朋友圈。</div>
						</div>
					</a>
					<a class="bds_more more-btn share-btn">更多</a>
				</div>
				<script type="text/javascript" id="bdshare_js" data="type=tools&mini=1" ></script>
				<script type="text/javascript" id="bdshell_js"></script>
				<script type="text/javascript">
					//在这里定义bds_config
					document.getElementById('bdshell_js').src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000);
				
                    var qcode = {
					    api: "http://qr.liantu.com/api.php?text=",
					    url: window.location.href,
					    exist: false,
					    create: function () {
					        if (!this.exist) {
					            var image = document.createElement('img');
					            image.src = this.api + this.url;
					            image.width = 120;
					            this.exist = true;
					            return image;
					        }
					    }
					};

					window.onload = function(){
					    document.getElementById('weixin-qt').insertBefore(qcode.create(), document.getElementById('weixin-qt-msg'));

					}
                </script>
				<!-- Baidu Button END -->
			</div>
            <!-- pageActive -->
              
            <!-- pageAuthor END -->
            <div class="pageRelate">
            <div class="filelist">
        <div class="tit cl"><b>更多推荐：</b>
        </div>
        </div>
                <ul class="clr">
                
                 #foreach($ListInfo in $SList)
                 #if(${velocityCount}>=11)
                  #if((${velocityCount}%3)==1)
                      <li class="last">
                       #else
                       <li >
                       #end
                   <div class="name">
                                <a href="${ListInfo.Url}"  title="${ListInfo.Title}"  target="_blank" >${ListInfo.Title}</a>
                            </div>
                        </li>
                        #end
                        #end
	                                                                             
	                                                    </ul>
            </div>
            <!-- pageRelate END -->
               <div class="pageRelate">
                <!-- UY BEGIN -->
            <div id="uyan_frame"></div>
            <script type="text/javascript">
                var uyan_config = {
                    'du': '${site.Url}',
                    'su': '${article.Id}'
                };
</script>
            <script type="text/javascript" id="UYScript" src="http://v1.uyan.cc/js/iframe.js?UYUserId=1776867"  async=""></script>
             
            <!-- UY END -->
                </div>


        </div>
    </div>
    
    <!-- left END -->
#parse("${skin.TemplateName}/include/rightContent.htm")
</div>
<!-- article-main END -->

<script type="text/javascript">
    $(document).ready(function () {
      updateArticleNum(${article.Id},'${page.Channel.Dir}','upclick');
    });
    

    var weixinTimer = null;
    $('.weixin-btn').hover(function () {
        clearTimeout(weixinTimer);
        $('#weixin-qt').css('display', 'block').stop().animate({
            top: 40,
            opacity: 1
        }, 500);
    }, function () {
        weixinTimer = setTimeout(function () {
            $('#weixin-qt').fadeOut(100, function () {
                $(this).css('top', 80);
            });
        }, 100);

    });
    </script>
#parse("${skin.TemplateName}/include/footer.htm")